package com.soilflow.info.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.soilflow.common.domain.LandRent;
import com.soilflow.common.domain.WechatMenu;
import com.soilflow.common.domain.vo.WechatMenuVo;

import java.util.List;

/**
 * 菜单Service接口
 * 
 * @author party
 * @date 2023-09-26
 */
public interface IWechatMenuService extends IService<WechatMenu> {
    /**
     * 查询菜单
     * 
     * @param id 菜单主键
     * @return 菜单
     */
    public WechatMenu selectWechatMenuById(Long id);

    /**
     * 查询菜单列表
     * 
     * @param wechatMenu 菜单
     * @return 菜单集合
     */
    public List<WechatMenu> selectWechatMenuList(WechatMenu wechatMenu);

    /**
     * 新增菜单
     * 
     * @param wechatMenu 菜单
     * @return 结果
     */
    public int insertWechatMenu(WechatMenu wechatMenu);

    /**
     * 修改菜单
     * 
     * @param wechatMenu 菜单
     * @return 结果
     */
    public int updateWechatMenu(WechatMenu wechatMenu);

    /**
     * 批量删除菜单
     * 
     * @param ids 需要删除的菜单主键集合
     * @return 结果
     */
    public int deleteWechatMenuByIds(Long[] ids);

    /**
     * 删除菜单信息
     * 
     * @param id 菜单主键
     * @return 结果
     */
    public int deleteWechatMenuById(Long id);

    List<WechatMenuVo> findMenuInfo();

    void syncMenu();
}
